Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

port-changes - frozen columns #1

Open
wants to merge 21 commits into
base: main
Choose a base branch
from
Open

port-changes - frozen columns #1

wants to merge 21 commits into from

Conversation

matanAlltra
Copy link
Collaborator

No description provided.

@@ -45,9 +45,11 @@ const root = css`
--rdg-selection-color: #66afe9;
--rdg-font-size: 14px;
--rdg-cell-frozen-box-shadow: 2px 0 5px -2px rgba(136, 136, 136, 0.3);
--rdg-cell-right-frozen-box-shadow: -2px 0 5px -2px rgba(136, 136, 136, 0.3);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just check if we can override it in the frontend app, so we can apply theming if needed (needed for dark theme already)

@@ -6,4 +6,5 @@ export function stopPropagation(event: React.SyntheticEvent) {

export function scrollIntoView(element: Maybe<Element>) {
element?.scrollIntoView({ inline: 'nearest', block: 'nearest' });
// element?.scrollIntoView({ inline: 'center', block: 'nearest' });

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Clean


&:hover {
background: var(--rdg-selection-color);
padding: 5px 0;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's do duplication of 2/4 (so let's use 4px or 6px here)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants